namespace ClickOnceMaster.Helpers
{
    public static class QueryHelper
    {
        public static string BuildApplicationVersion(int major, int minor, int build, int revision)
        {
            return string.Format("{0}.{1}.{2}.{3}",
                                 major,
                                 minor,
                                 build,
                                 revision);
        }

        public static string BuildApplicationFolder(string applicationName, int major, int minor, int build, int revision)
        {
            return string.Format("{0}_{1}_{2}_{3}_{4}",
                                 applicationName,
                                 major,
                                 minor,
                                 build,
                                 revision);
        }
    }
}